package com.thoughtful.registry;

import java.net.InetSocketAddress;

import com.thoughtful.remoting.dto.RpcRequest;
import com.thougtful.extension.SPI;

/**
 * 服务发现
 *
 * @author yushun
 * @createTime 2022/10/18 - 16:39
 **/
@SPI
public interface ServiceDiscovery {

    InetSocketAddress lookupService(RpcRequest rpcRequest);

}
